package io.github.luons.mediator.core.enums;

import io.github.luons.mediator.core.spi.result.ResultCode;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * keyword
 *
 * @author : luons
 */
@Getter
@AllArgsConstructor
public enum Keyword implements ResultCode {

    /**
     * SQL Keyword
     */
    WHERE(0, "WHERE"),
    ASC(1, "ASC"),
    DESC(2, "DESC"),

    ;

    /**
     * code
     */
    private final Integer code;
    /**
     * message
     */
    private final String name;

}
